//
//  TKIMContact.h
//  TKIM_首创
//
//  Created by macpro on 15/12/7.
//  Copyright © 2015年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TKIMTextSearchHelper.h"

typedef NS_ENUM(NSInteger,TKIMContactRoleType){
    TKIMContactRoleTypeFriend = 1,    //好友
    TKIMContactRoleTypeSubscribed ,   //系统用户
    TKIMContactRoleTypeUnsubscribed   //非系统用户
};

@interface TKIMContact : NSObject<TKIMTextSearchHelperProtocol>
@property (nonatomic, strong)UIImage * image;
@property (nonatomic, assign) NSInteger sectionNumber;
@property (nonatomic, assign) NSInteger recordID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString * nickname;
@property (nonatomic, copy) NSString *email;
@property (nonatomic, copy) NSString *tel;
@property (nonatomic, copy) NSString *address;
/**首字母*/
@property (nonatomic,copy)NSString * firstLetter;
/**名字的拼音*/
@property (nonatomic,copy)NSString * pinyinName;
/**角色*/
@property(nonatomic,assign)TKIMContactRoleType role;
@end
